/*
 *Program Name: Drawable.h
 *Written By:   Cheng-Hsiu Hsieh
 */

#ifndef _DRAWABLE_
#define _DRAWABLE_

class cDrawable
{
public:
  cDrawable();
  cDrawable( float fRadius );
  ~cDrawable();
  bool hasCollided( cDrawable* Objects );

	//-----------------------------------------------------------------------------
	void Move(float x, float y, float z);
	// argument is the moving distance
	
  void MoveTo(float x, float y, float z);
  // argument is the destination

  void setXPosition( float x );
  void setYPosition( float y );
  void setZPosition( float z );
  void setRadius( float r );
  void setHide( bool bSwitch );
  
  //Getters:
  float getXPosition();
  float getYPosition();
  float getZPosition();
  float getRadius();
  bool getHide();

private:
  float mXPosition;
  float mYPosition;
  float mZPosition;
  float mRadius; // Sphere for collision detection
  bool mHide;

};


#endif